package com.coolw.test.sftp.pool;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 多个sftp属性配置类
 *
 * @author coolw
 * @date 2025/8/12 11:18
 */
@Data
@Component
@ConfigurationProperties(prefix = "sftp")
public class MultiSftpProperties {

    /**
     * 存储多个sftp配置，key为服务器标识，value为对应配置
     */
    private Map<String, SftpProperties> servers;
}
